Graphic objects and drawing elements > Property Panel > All properties and connections > TakeFocusOnPress
Specifies whether the object will take input focus when pressed. A press is a mouse click, touch screen press or assigned function key press.